package com.feicheng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author hao.zhang
 * @since 2022-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PurchaseHeader implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 采购订单id
     */
    @TableId(value = "purchase_header_id", type = IdType.AUTO)
    private Integer purchaseHeaderId;

    /**
     * 采购时间
     */
    private LocalDateTime date;

    /**
     * 员工信息id
     */
    private Integer userId;

    /**
     * 采购批次号
     */
    private String batchNo;

    /**
     * 状态(0:未采购,1:已采购,2:已取消)
     */
    private String state;


}
